package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class StudentPushLabelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentPushLabelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStudentpushidIsNull() {
            addCriterion("studentPushId is null");
            return (Criteria) this;
        }

        public Criteria andStudentpushidIsNotNull() {
            addCriterion("studentPushId is not null");
            return (Criteria) this;
        }

        public Criteria andStudentpushidEqualTo(Integer value) {
            addCriterion("studentPushId =", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidNotEqualTo(Integer value) {
            addCriterion("studentPushId <>", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidGreaterThan(Integer value) {
            addCriterion("studentPushId >", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidGreaterThanOrEqualTo(Integer value) {
            addCriterion("studentPushId >=", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidLessThan(Integer value) {
            addCriterion("studentPushId <", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidLessThanOrEqualTo(Integer value) {
            addCriterion("studentPushId <=", value, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidIn(List<Integer> values) {
            addCriterion("studentPushId in", values, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidNotIn(List<Integer> values) {
            addCriterion("studentPushId not in", values, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidBetween(Integer value1, Integer value2) {
            addCriterion("studentPushId between", value1, value2, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andStudentpushidNotBetween(Integer value1, Integer value2) {
            addCriterion("studentPushId not between", value1, value2, "studentpushid");
            return (Criteria) this;
        }

        public Criteria andPushidIsNull() {
            addCriterion("pushId is null");
            return (Criteria) this;
        }

        public Criteria andPushidIsNotNull() {
            addCriterion("pushId is not null");
            return (Criteria) this;
        }

        public Criteria andPushidEqualTo(Integer value) {
            addCriterion("pushId =", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotEqualTo(Integer value) {
            addCriterion("pushId <>", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidGreaterThan(Integer value) {
            addCriterion("pushId >", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pushId >=", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidLessThan(Integer value) {
            addCriterion("pushId <", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidLessThanOrEqualTo(Integer value) {
            addCriterion("pushId <=", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidIn(List<Integer> values) {
            addCriterion("pushId in", values, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotIn(List<Integer> values) {
            addCriterion("pushId not in", values, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidBetween(Integer value1, Integer value2) {
            addCriterion("pushId between", value1, value2, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotBetween(Integer value1, Integer value2) {
            addCriterion("pushId not between", value1, value2, "pushid");
            return (Criteria) this;
        }

        public Criteria andStudentidIsNull() {
            addCriterion("studentId is null");
            return (Criteria) this;
        }

        public Criteria andStudentidIsNotNull() {
            addCriterion("studentId is not null");
            return (Criteria) this;
        }

        public Criteria andStudentidEqualTo(String value) {
            addCriterion("studentId =", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotEqualTo(String value) {
            addCriterion("studentId <>", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThan(String value) {
            addCriterion("studentId >", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThanOrEqualTo(String value) {
            addCriterion("studentId >=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThan(String value) {
            addCriterion("studentId <", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThanOrEqualTo(String value) {
            addCriterion("studentId <=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLike(String value) {
            addCriterion("studentId like", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotLike(String value) {
            addCriterion("studentId not like", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidIn(List<String> values) {
            addCriterion("studentId in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotIn(List<String> values) {
            addCriterion("studentId not in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidBetween(String value1, String value2) {
            addCriterion("studentId between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotBetween(String value1, String value2) {
            addCriterion("studentId not between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIsNull() {
            addCriterion("twoIndexName is null");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIsNotNull() {
            addCriterion("twoIndexName is not null");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameEqualTo(String value) {
            addCriterion("twoIndexName =", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotEqualTo(String value) {
            addCriterion("twoIndexName <>", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameGreaterThan(String value) {
            addCriterion("twoIndexName >", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameGreaterThanOrEqualTo(String value) {
            addCriterion("twoIndexName >=", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLessThan(String value) {
            addCriterion("twoIndexName <", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLessThanOrEqualTo(String value) {
            addCriterion("twoIndexName <=", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLike(String value) {
            addCriterion("twoIndexName like", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotLike(String value) {
            addCriterion("twoIndexName not like", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIn(List<String> values) {
            addCriterion("twoIndexName in", values, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotIn(List<String> values) {
            addCriterion("twoIndexName not in", values, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameBetween(String value1, String value2) {
            addCriterion("twoIndexName between", value1, value2, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotBetween(String value1, String value2) {
            addCriterion("twoIndexName not between", value1, value2, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andPushtimeIsNull() {
            addCriterion("pushTime is null");
            return (Criteria) this;
        }

        public Criteria andPushtimeIsNotNull() {
            addCriterion("pushTime is not null");
            return (Criteria) this;
        }

        public Criteria andPushtimeEqualTo(String value) {
            addCriterion("pushTime =", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotEqualTo(String value) {
            addCriterion("pushTime <>", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeGreaterThan(String value) {
            addCriterion("pushTime >", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeGreaterThanOrEqualTo(String value) {
            addCriterion("pushTime >=", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLessThan(String value) {
            addCriterion("pushTime <", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLessThanOrEqualTo(String value) {
            addCriterion("pushTime <=", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLike(String value) {
            addCriterion("pushTime like", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotLike(String value) {
            addCriterion("pushTime not like", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeIn(List<String> values) {
            addCriterion("pushTime in", values, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotIn(List<String> values) {
            addCriterion("pushTime not in", values, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeBetween(String value1, String value2) {
            addCriterion("pushTime between", value1, value2, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotBetween(String value1, String value2) {
            addCriterion("pushTime not between", value1, value2, "pushtime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIsNull() {
            addCriterion("submitTime is null");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIsNotNull() {
            addCriterion("submitTime is not null");
            return (Criteria) this;
        }

        public Criteria andSubmittimeEqualTo(String value) {
            addCriterion("submitTime =", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotEqualTo(String value) {
            addCriterion("submitTime <>", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeGreaterThan(String value) {
            addCriterion("submitTime >", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeGreaterThanOrEqualTo(String value) {
            addCriterion("submitTime >=", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLessThan(String value) {
            addCriterion("submitTime <", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLessThanOrEqualTo(String value) {
            addCriterion("submitTime <=", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLike(String value) {
            addCriterion("submitTime like", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotLike(String value) {
            addCriterion("submitTime not like", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIn(List<String> values) {
            addCriterion("submitTime in", values, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotIn(List<String> values) {
            addCriterion("submitTime not in", values, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeBetween(String value1, String value2) {
            addCriterion("submitTime between", value1, value2, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotBetween(String value1, String value2) {
            addCriterion("submitTime not between", value1, value2, "submittime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}